<div class="form">

<?php $form=$this->beginWidget('CActiveForm'); ?>

	<p class="note">Campos com <span class="obrigatorio">*</span> são obrigatórios.</p>

	<?php echo CHtml::errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'nome'); ?><br/>
		<?php echo $form->textField($model,'nome',array('size'=>80,'maxlength'=>128,'class'=>'obrigatorio')); ?>
		<?php echo $form->error($model,'nome'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Cadastrar' : 'Salvar', array('class'=>'botao')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->